I am not able to understand error

2020-02-03 13:38:25,248 unitTesting INFO Running pytest
2020-02-03 13:38:27,882 unitTesting INFO ============================= test session starts ==============================
platform linux – Python 3.6.9, pytest-5.3.1, py-1.8.0, pluggy-0.12.0
Django settings: qeats.settings (from ini file)
rootdir: /muskanbansal581-ME_QEATS_REVIEW_MP-70052b5c-468a-11ea-bb84-df042ef8c174/muskanbansal581-ME_QEATS_REVIEW_MP, inifile: pytest.ini
plugins: django-3.5.1, mock-1.10.4
collected 0 items / 1 error

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_views.py _____________________
/usr/local/lib/python3.6/dist-packages/_pytest/python.py:492: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/lib/python3.6/dist-packages/py/_path/local.py:701: in pyimport
import(modname)
:971: in _find_and_load
???
:955: in _find_and_load_unlocked
???
:665: in _load_unlocked
???
/usr/local/lib/python3.6/dist-packages/_pytest/assertion/rewrite.py:143: in exec_module
exec(co, module.dict)
tests/test_views.py:60: in
import restaurants.pinterest_post
E File “/muskanbansal581-ME_QEATS_REVIEW_MP-70052b5c-468a-11ea-bb84-df042ef8c174/muskanbansal581-ME_QEATS_REVIEW_MP/restaurants/pinterest_post.py”, line 31
E
E ^
E SyntaxError: unexpected EOF while parsing
------------------------------- Captured stderr --------------------------------
OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
=============================== warnings summary ===============================
/usr/local/lib/python3.6/dist-packages/_pytest/junitxml.py:436
/usr/local/lib/python3.6/dist-packages/_pytest/junitxml.py:436: PytestDeprecationWarning: The ‘junit_family’ default value will change to ‘xunit2’ in pytest 6.0.
Add ‘junit_family=legacy’ to your pytest.ini file to silence this warning and make your suite compatible.
_issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)

– Docs: https://docs.pytest.org/en/latest/warnings.html

  • generated xml file: /muskanbansal581-ME_QEATS_REVIEW_MP-70052b5c-468a-11ea-bb84-df042ef8c174/muskanbansal581-ME_QEATS_REVIEW_MP/tests.xml -
    !!! Interrupted: 1 error during collection !!!
    ========================= 1 warning, 1 error in 0.81s ==========================

2020-02-03 13:38:27,883 unitTesting INFO Pytest run complete
2020-02-03 13:38:27,884 unitTesting INFO Report generated: {’.tests.test_views’: ‘TEST_STATUS_FAILURE’}

Refer this -