Source

pypy / rpython / tool / pytest / test / test_expecttest.py

The branch 'split-rpython' does not exist.
1
2
3
4
5
6
7
8
9
from rpython.tool.pytest.expecttest import ExpectTest

class TestExpect(ExpectTest):
    def test_one(self):
        def func():
            import os
            import sys
            assert os.ttyname(sys.stdin.fileno())
        self.run_test(func)