We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303405a commit 6a8f36aCopy full SHA for 6a8f36a
reframe/core/meta.py
@@ -893,10 +893,13 @@ def validate(obj):
893
for m in methods:
894
body[m.__name__] = m
895
896
+ # We update the namespace with the body of the class and we explicitly
897
+ # call reset on each namespace key to trigger the functionality of
898
+ # `__setitem__()` as if the body elements were actually being typed in the
899
+ # class definition
900
namespace.update(body)
901
for k in list(namespace.keys()):
902
namespace.reset(k)
903
- # namespace.update(body)
904
cls = RegressionTestMeta(name, bases, namespace, **kwargs)
905
return cls
0 commit comments