<commit_before>from blackjack import Card, Deck
import pytest


def test_card_has_suit():
    card = Card('diamond')
    assert hasattr(card, 'suit')


def test_card_has_valid_suit():
    with pytest.raises(ValueError):
        Card('somestupidsuit')


def test_deck():
    pass

<commit_msg>test that the suit is assigned properly<commit_after>from blackjack import Card, Deck
import pytest


def test_card_has_suit():
    card = Card('diamond')
    assert hasattr(card, 'suit')


def test_card_has_valid_suit():
    with pytest.raises(ValueError):
        Card('somestupidsuit')

        c = Card('spade')

        assert c.suit == 'spade'


def test_deck():
    pass


{'fraction_non_alphanumeric': 0.10730253353204174, 'fraction_numerical': 0.0, 'mean_word_length': 3.699300699300699, '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': '1516473', 'n_tokens_mistral': 233, 'n_tokens_neox': 223, 'n_words': 55}