<commit_before>import _mssql
import unittest
import threading
from mssqltests import server, username, password, database

class TestingThread(threading.Thread):

    def run(self):
        self.running = True
        self.exc = None
        try:
            mssql = _mssql.connect(server, username, password)
            mssql.select_db(database)
            for i in xrange(0, 100):
                mssql.execute_query('SELECT %d', (i,))
                for row in mssql:
                    assert row[0] == i
            mssql.close()
        except Exception, e:
            self.exc = e
        finally:
            self.running = False


class ThreadedTests(unittest.TestCase):<commit_msg>increase the number of iterations on threaded tests from 100 to 1000<commit_after>import _mssql
import unittest
import threading
from mssqltests import server, username, password, database

class TestingThread(threading.Thread):

    def run(self):
        self.running = True
        self.exc = None
        try:
            mssql = _mssql.connect(server, username, password)
            mssql.select_db(database)
            for i in xrange(0, 1000):
                mssql.execute_query('SELECT %d', (i,))
                for row in mssql:
                    assert row[0] == i
            mssql.close()
        except Exception, e:
            self.exc = e
        finally:
            self.running = False


class ThreadedTests(unittest.TestCase):
{'fraction_non_alphanumeric': 0.08287292817679558, 'fraction_numerical': 0.012430939226519336, 'mean_word_length': 1.9451219512195121, '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': '2083134', 'n_tokens_mistral': 432, 'n_tokens_neox': 404, 'n_words': 116}