Skip to content

Commit c46e423

Browse files
authored
Minor: test settings / fixes (#15)
* tests: TestReader: __test__ = False * tox.ini: pytest: addopts = -ra
1 parent 26f5cb8 commit c46e423

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

testing/infrastructure.py

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def get_event(self, block=1):
5757

5858

5959
class TestReader(Reader):
60+
__test__ = False
6061

6162
def get_prompt(self, lineno, cursor_on_line):
6263
return ''

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ commands = flake8 --max-complexity=10 setup.py pyrepl testing pythoni pythoni1
2121

2222
[pytest]
2323
testpaths = testing
24+
addopts = -ra
2425

2526
[coverage:run]
2627
include = pyrepl/*, testing/*

0 commit comments

Comments
 (0)