Skip to content

Error while running tests  #4

Description

@hars-singh

Hello,
Wonderful work.

But I tried to run the tests, It throws this error:( I am using Google Colab)

platform linux2 -- Python 2.7.17, pytest-3.6.4, py-1.8.0, pluggy-0.7.1 -- /usr/bin/python2
cachedir: .pytest_cache
rootdir: /content/MIRACLE, inifile: pytest.ini
collected 0 items / 1 errors

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_miracle.py ____________________
/usr/local/lib/python2.7/dist-packages/_pytest/python.py:468: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python2.7/dist-packages/py/_path/local.py:701: in pyimport
import(modname)
E File "/content/MIRACLE/tests/test_miracle.py", line 22
E dataset_sz: int = 1000,
E ^
E SyntaxError: invalid syntax
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.10 seconds ============================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions