Fix linting
This commit is contained in:
parent
3b65d190a4
commit
d5b5be6fbe
|
@ -33,11 +33,11 @@ Full pytest documentation
|
||||||
reference
|
reference
|
||||||
|
|
||||||
goodpractices
|
goodpractices
|
||||||
|
flaky
|
||||||
pythonpath
|
pythonpath
|
||||||
customize
|
customize
|
||||||
example/index
|
example/index
|
||||||
bash-completion
|
bash-completion
|
||||||
flaky
|
|
||||||
|
|
||||||
backwards-compatibility
|
backwards-compatibility
|
||||||
deprecations
|
deprecations
|
||||||
|
|
|
@ -33,7 +33,7 @@ class Python(object):
|
||||||
dumpfile = self.picklefile.dirpath("dump.py")
|
dumpfile = self.picklefile.dirpath("dump.py")
|
||||||
dumpfile.write(
|
dumpfile.write(
|
||||||
textwrap.dedent(
|
textwrap.dedent(
|
||||||
"""\
|
r"""\
|
||||||
import pickle
|
import pickle
|
||||||
f = open({!r}, 'wb')
|
f = open({!r}, 'wb')
|
||||||
s = pickle.dump({!r}, f, protocol=2)
|
s = pickle.dump({!r}, f, protocol=2)
|
||||||
|
@ -49,7 +49,7 @@ class Python(object):
|
||||||
loadfile = self.picklefile.dirpath("load.py")
|
loadfile = self.picklefile.dirpath("load.py")
|
||||||
loadfile.write(
|
loadfile.write(
|
||||||
textwrap.dedent(
|
textwrap.dedent(
|
||||||
"""\
|
r"""\
|
||||||
import pickle
|
import pickle
|
||||||
f = open({!r}, 'rb')
|
f = open({!r}, 'rb')
|
||||||
obj = pickle.load(f)
|
obj = pickle.load(f)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
.. _flaky:
|
|
||||||
|
|
||||||
Flaky tests
|
Flaky tests
|
||||||
-----------
|
-----------
|
||||||
|
@ -44,7 +43,7 @@ Xfail strict
|
||||||
PYTEST_CURRENT_TEST
|
PYTEST_CURRENT_TEST
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
:ref:`pytest current test env ref` may be useful for figuring out "which test got stuck".
|
:ref:`pytest current test env` may be useful for figuring out "which test got stuck".
|
||||||
|
|
||||||
|
|
||||||
Plugins
|
Plugins
|
||||||
|
@ -103,9 +102,9 @@ Research
|
||||||
|
|
||||||
This is a limited list, please submit an issue or pull request to expand it!
|
This is a limited list, please submit an issue or pull request to expand it!
|
||||||
|
|
||||||
* Gao, Zebao, Yalan Liang, Myra B. Cohen, Atif M. Memon, and Zhen Wang. "Making system user interactive tests repeatable: When and what should we control?." In *Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on*, vol. 1, pp. 55-65. IEEE, 2015. `PDF <http://www.cs.umd.edu/~atif/pubs/gao-icse15.pdf>`_
|
* Gao, Zebao, Yalan Liang, Myra B. Cohen, Atif M. Memon, and Zhen Wang. "Making system user interactive tests repeatable: When and what should we control?." In *Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on*, vol. 1, pp. 55-65. IEEE, 2015. `PDF <http://www.cs.umd.edu/~atif/pubs/gao-icse15.pdf>`__
|
||||||
* Palomba, Fabio, and Andy Zaidman. "Does refactoring of test smells induce fixing flaky tests?." In *Software Maintenance and Evolution (ICSME), 2017 IEEE International Conference on*, pp. 1-12. IEEE, 2017. `PDF in Google Drive <https://drive.google.com/file/d/10HdcCQiuQVgW3yYUJD-TSTq1NbYEprl0/view>`_
|
* Palomba, Fabio, and Andy Zaidman. "Does refactoring of test smells induce fixing flaky tests?." In *Software Maintenance and Evolution (ICSME), 2017 IEEE International Conference on*, pp. 1-12. IEEE, 2017. `PDF in Google Drive <https://drive.google.com/file/d/10HdcCQiuQVgW3yYUJD-TSTq1NbYEprl0/view>`__
|
||||||
* Bell, Jonathan, Owolabi Legunsen, Michael Hilton, Lamyaa Eloussi, Tifany Yung, and Darko Marinov. "DeFlaker: Automatically detecting flaky tests." In *Proceedings of the 2018 International Conference on Software Engineering*. 2018. `PDF <https://www.jonbell.net/icse18-deflaker.pdf>`_
|
* Bell, Jonathan, Owolabi Legunsen, Michael Hilton, Lamyaa Eloussi, Tifany Yung, and Darko Marinov. "DeFlaker: Automatically detecting flaky tests." In *Proceedings of the 2018 International Conference on Software Engineering*. 2018. `PDF <https://www.jonbell.net/icse18-deflaker.pdf>`__
|
||||||
|
|
||||||
|
|
||||||
Resources
|
Resources
|
||||||
|
|
Loading…
Reference in New Issue