<commit_before># coding=utf-8

import sys
sys.path.insert(0, '../')
import unittest
from lib.singleton import Singleton


class SingletonTestCase(unittest.TestCase):

    def test_singleton(self):
        a = Singleton()
        b = Singleton()
        self.assertEqual(id(a), id(b))<commit_msg>update test for singleton<commit_after># coding=utf-8

import sys
sys.path.insert(0, '../')
import unittest
from lib.singleton import Singleton


class SingletonTestCase(unittest.TestCase):

    def test_singleton(self):
        a = Singleton()
        b = Singleton()
        self.assertEqual(id(a), id(b))
        c = Singleton()
        self.assertEqual(id(c), id(b))
{'fraction_non_alphanumeric': 0.13082706766917293, 'fraction_numerical': 0.006015037593984963, 'mean_word_length': 3.324675324675325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3480186', 'n_tokens_mistral': 214, 'n_tokens_neox': 208, 'n_words': 48}