From ee39da0e00423d2e4f109f90142c3543e819c14d Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 14 Feb 2018 17:14:16 +0300 Subject: Tests: removed unused code in unit.py. --- test/test_python_atexit.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'test/test_python_atexit.py') diff --git a/test/test_python_atexit.py b/test/test_python_atexit.py index b0cb6c34..b41a80db 100644 --- a/test/test_python_atexit.py +++ b/test/test_python_atexit.py @@ -3,15 +3,12 @@ import time import unittest import unit -class TestUnitApplication(unit.TestUnitControl): +class TestUnitPythonAtExit(unit.TestUnitControl): def setUpClass(): - u = unit.TestUnit() + unit.TestUnit().check_modules('python') - u.check_modules('python') - u.check_version('0.5') - - def test_python_application(self): + def test_python_atexit(self): code, name = """ import atexit -- cgit