import time
from unittest import TestCase


class Sample(TestCase):
    def test_sameple_with_big_timeout(self):
        print("Testing false assert")
        self.assertEquals(1, 2)

from unittest import TestCase


class Sample(TestCase):
    def test_sameple_with_big_timeout(self):
        print("Testing false assert")
        self.assertEqual(1, 2)

Fix deprecated use of function on sample test
Fix deprecated use of function on sample test

- import time
  from unittest import TestCase
  
  
  class Sample(TestCase):
      def test_sameple_with_big_timeout(self):
          print("Testing false assert")
-         self.assertEquals(1, 2)
+         self.assertEqual(1, 2)
  
Fix deprecated use of function on sample test
## Code Before:
import time
from unittest import TestCase


class Sample(TestCase):
    def test_sameple_with_big_timeout(self):
        print("Testing false assert")
        self.assertEquals(1, 2)

## Instruction:
Fix deprecated use of function on sample test
## Code After:
from unittest import TestCase


class Sample(TestCase):
    def test_sameple_with_big_timeout(self):
        print("Testing false assert")
        self.assertEqual(1, 2)
