Skip to content

Move testtransform to pytest#3788

Merged
gvanrossum merged 1 commit intopython:masterfrom
elazarg:more-pytest-transform
Aug 22, 2017
Merged

Move testtransform to pytest#3788
gvanrossum merged 1 commit intopython:masterfrom
elazarg:more-pytest-transform

Conversation

@elazarg
Copy link
Contributor

@elazarg elazarg commented Aug 1, 2017

Another item from #1673, following #3780

I have checked that some tests fail by changing testGlobalVariable from 'semanal-basic.test' and running

./runtests.py pytest -a -n0 -a -k -a testGlobalVariable

(testsemanal is not a pytest yet)

@elazarg
Copy link
Contributor Author

elazarg commented Aug 1, 2017

@gvanrossum

for f in self.transform_files:
for f in cls.transform_files:
c += parse_test_cases(os.path.join(test_data_prefix, f),
test_transform,
Copy link
Contributor Author

@elazarg elazarg Aug 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The argument test_transform, which corresponds to the parameter perform, is not used in pytests. The parameter is propagated to DataDrivenTestCase which uses it in the method run(). This method is not called; maybe we should add assert False there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants