#!/usr/bin/env python3

import unittest
from twoping import monotonic_clock


class TestMonotonicClock(unittest.TestCase):
    def setUp(self):
        self.clock = monotonic_clock.clock
        self.clock_info = monotonic_clock.get_clock_info('clock')

    def test_clock(self):
        self.assertEqual(type(self.clock()), float)

    def test_monotonic(self):
        if not self.clock_info.monotonic:
            return
        time1 = self.clock()
        time2 = self.clock()
        self.assertTrue(time2 > time1)


if __name__ == '__main__':
    unittest.main()

@@ -75,87 +75,8 @@
 k%0A%0A%0A
-class TestMonotonicClock(unittest.TestCase):%0A    def setUp(self):%0A        self.
 cloc
@@ -101,29 +101,16 @@
 k.clock%0A
-        self.
 clock_in
@@ -155,16 +155,62 @@
 lock')%0A%0A
+%0Aclass TestMonotonicClock(unittest.TestCase):%0A
     def 
@@ -257,21 +257,16 @@
 al(type(
-self.
 clock())
@@ -283,94 +283,108 @@
     
-def test_monotonic(self):%0A        if not self.clock_info.monotonic:%0A            return
+@unittest.skipUnless(clock_info.monotonic, 'Monotonic clock required')%0A    def test_monotonic(self):
 %0A   
@@ -396,21 +396,16 @@
 time1 = 
-self.
 clock()%0A
@@ -420,21 +420,16 @@
 time2 = 
-self.
 clock()%0A

Use proper skip logic for test_monotonic_clock.py