Skip to content

Commit 6a8f36a

Browse files
author
Vasileios Karakasis
committed
Remove stale comment
1 parent 303405a commit 6a8f36a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reframe/core/meta.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,13 @@ def validate(obj):
893893
for m in methods:
894894
body[m.__name__] = m
895895

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
896900
namespace.update(body)
897901
for k in list(namespace.keys()):
898902
namespace.reset(k)
899903

900-
# namespace.update(body)
901904
cls = RegressionTestMeta(name, bases, namespace, **kwargs)
902905
return cls

0 commit comments

Comments
 (0)