08b77ec307ab7ee702b51cbb32dcb2629fb04855,tests/test_utils.py,TestUtils,test_timer,#TestUtils#,47

Before Change


        assert more > elapsed

        other = Timer()
        less = other.reset().time()
        assert less > 0
        assert less < t.time()

After Change



    def test_timer(self):
        t = Timer()
        time.sleep(1e-6)
        elapsed = t.stop().time()
        assert elapsed > 0

        same = t.time()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: facebookresearch/ParlAI
Commit Name: 08b77ec307ab7ee702b51cbb32dcb2629fb04855
Time: 2018-05-24
Author: ahm@fb.com
File Name: tests/test_utils.py
Class Name: TestUtils
Method Name: test_timer


Project Name: deepdrive/deepdrive
Commit Name: f03e9e397bf7c19db3c147c624f5c8737c89af39
Time: 2019-04-01
Author: cquiter@gmail.com
File Name: example_remote.py
Class Name:
Method Name: main


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 23a204d75f91c85bb542269447dbfa2164c695ce
Time: 2018-01-19
Author: max.lapan@gmail.com
File Name: ch13/wob_click_train.py
Class Name:
Method Name: