summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_features.py')
-rw-r--r--test/unit/test_features.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index 9c3b20ed7..f33a7e8d3 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -31,9 +31,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
self.check_feature(module, error, '--enable-bulk-memory')
def check_exception_handling(self, module, error):
- # Exception handling implies reference types
- self.check_feature(module, error, '--enable-exception-handling',
- ['--enable-reference-types'])
+ self.check_feature(module, error, '--enable-exception-handling')
def check_tail_call(self, module, error):
self.check_feature(module, error, '--enable-tail-call')
@@ -46,8 +44,7 @@ class FeatureValidationTest(utils.BinaryenTestCase):
def check_multivalue_exception_handling(self, module, error):
self.check_feature(module, error, '--enable-multivalue',
- ['--enable-exception-handling',
- '--enable-reference-types'])
+ ['--enable-exception-handling'])
def check_gc(self, module, error):
# GC implies reference types
@@ -338,7 +335,7 @@ class TargetFeaturesSectionTest(utils.BinaryenTestCase):
def test_exception_handling(self):
filename = 'exception_handling_target_feature.wasm'
self.roundtrip(filename)
- self.check_features(filename, ['exception-handling', 'reference-types'])
+ self.check_features(filename, ['exception-handling'])
self.assertIn('throw', self.disassemble(filename))
def test_gc(self):