beeware / cricket

A GUI tool for running Python test suites.
BSD 3-Clause "New" or "Revised" License
213 stars 68 forks source link

AttributeError: 'module' object has no attribute 'result'. #62

Closed jtcamp closed 7 years ago

jtcamp commented 7 years ago

This error occurs when I attempt to run main.py in the unittest folder. There doesn't seem to be any result module in the unittest folder, so I'm not sure why PipedTestResult is using this unknown module.

NOTE: Running on Python 2.7.13 on Windows 7

Traceback (most recent call last): File "C:/../cricket-master/cricket/unittest/main.py", line 4, in from cricket.main import main as cricket_main File "C:..\cricket-master\cricket\main.py", line 15, in from cricket.view import ( File "C:..\cricket-master\cricket\view.py", line 32, in from cricket.executor import Executor File "C:\Users..\cricket-master\cricket\executor.py", line 13, in from cricket.pipes import PipedTestResult, PipedTestRunner File "C:..\cricket-master\cricket\pipes.py", line 47, in class PipedTestResult(unittest.result.TestResult): AttributeError: 'module' object has no attribute 'result'